#Boa:Frame:Menu

import wx
import Clientes

def create(parent):
    return Menu(parent)

[wxID_MENU, wxID_MENUBUTTON1, wxID_MENUPANEL1, 
] = [wx.NewId() for _init_ctrls in range(3)]

class Menu(wx.Frame):
    def _init_ctrls(self, prnt):
        # generated method, don't edit
        wx.Frame.__init__(self, id=wxID_MENU, name=u'Menu', parent=prnt,
              pos=wx.Point(405, 241), size=wx.Size(476, 260),
              style=wx.DEFAULT_FRAME_STYLE, title=u'Menu')
        self.SetClientSize(wx.Size(460, 222))

        self.panel1 = wx.Panel(id=wxID_MENUPANEL1, name='panel1', parent=self,
              pos=wx.Point(0, 0), size=wx.Size(460, 222),
              style=wx.TAB_TRAVERSAL)

        self.button1 = wx.Button(id=wxID_MENUBUTTON1, label=u'Clientes',
              name='button1', parent=self.panel1, pos=wx.Point(64, 40),
              size=wx.Size(75, 23), style=0)
        self.button1.Bind(wx.EVT_BUTTON, self.Client_Open, id=wxID_MENUBUTTON1)

    def __init__(self, parent):
        self._init_ctrls(parent)

    def Client_Open(self, event):
        frame = Clientes.create(self)
        frame.Show()
